package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import org.apache.commons.lang.builder.ToStringBuilder;


/**
 * The persistent class for the PS_C_WF_FILE_ATT database table.
 * 
 */
@Entity
@Table(name="PS_C_WF_FILE_ATT")
@NamedQuery(name="PsCWfFileAtt.findAll", query="SELECT p FROM PsCWfFileAtt p")
@IdClass(PsCWfFileAttPrimary.class)
public class PsCWfFileAtt extends BaseDomain implements Serializable {
	private static final long serialVersionUID = 1L;

	private String attachsysfilename;

	private String attachuserfile;

	@Id
	@Column(name="C_STEP_NBR")
	private BigDecimal cStepNbr;

	@Id
	@Column(name="C_TRANSACTION_NBR")
	private String cTransactionNbr;

	@Id
	@Column(name="C_USER_NBR")
	private BigDecimal cUserNbr;

	@Column(name="FILE_PATH")
	private String filePath;

	@Id
	private BigDecimal seqnbr;

	@Column(name = "C_FILE_NUM")
	private String cFileNum;

	public PsCWfFileAtt() {
	}

	public String getcFileNum() {
		return cFileNum;
	}

	public void setcFileNum(String cFileNum) {
		this.cFileNum = cFileNum;
	}

	public String getAttachsysfilename() {
		return attachsysfilename;
	}

	public void setAttachsysfilename(String attachsysfilename) {
		this.attachsysfilename = attachsysfilename;
	}

	public String getAttachuserfile() {
		return attachuserfile;
	}

	public void setAttachuserfile(String attachuserfile) {
		this.attachuserfile = attachuserfile;
	}

	public BigDecimal getcStepNbr() {
		return cStepNbr;
	}

	public void setcStepNbr(BigDecimal cStepNbr) {
		this.cStepNbr = cStepNbr;
	}

	public String getcTransactionNbr() {
		return cTransactionNbr;
	}

	public void setcTransactionNbr(String cTransactionNbr) {
		this.cTransactionNbr = cTransactionNbr;
	}

	public BigDecimal getcUserNbr() {
		return cUserNbr;
	}

	public void setcUserNbr(BigDecimal cUserNbr) {
		this.cUserNbr = cUserNbr;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public BigDecimal getSeqnbr() {
		return seqnbr;
	}

	public void setSeqnbr(BigDecimal seqnbr) {
		this.seqnbr = seqnbr;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}